<!--
*@Author: QWP
*@Description: 加载框
*@Date: 2023-06-29 17:32:47
-->
<template>
  <a-spin :spinning="spinning"
    :tip="tip">
    <slot></slot>
  </a-spin>
</template>

<script lang='ts' setup>
defineOptions({
  name: 'u-loading-box'
})
import { ref, reactive } from 'vue' 
interface Props {
  spinning: boolean,
  tip?: string
}
const props = withDefaults(defineProps<Props>(), {
  props: {
    spinning: false,
    tip: '加载中...'
  }
})

</script>
<style lang='scss' scoped>
</style>